.lf 1 ./smclean.1
.pl 29.7c
.\\" $Id: smclean.1,v 1.3 2004/07/11 08:04:47 bhepple Exp $
.TH SMCLEAN 1 "1991 September 16" "\&\(co Bob Hepple"
.UC 4
.SH NAME
smclean \- pulls data through
.B "Screen Manager"
files checking the format and filling empty fields.
.SH SYNOPSIS
.B smclean
.I "screenfile"
[
.I ":screen\-name"
]
[
.I "datafile"
[
.I "datafile..."
]]
.SH DESCRIPTION
.B smclean
pulls data through
.I screenfile
checking it and writing it out again with the exact number
of fields required back to the original datafile.
Use it when you are not sure that every record of
the data contains the right number of fields \- particularly if you
going to use
.B join(1)
on the file.
.PP
If
.I :screen-name
is given, then that screen is used (with its associated data file)
rather than the default for the file.
.PP
Multiple
.I datafiles
may be given to override the defaults supplied in the
.IR screenfile .
.SH FILES
.TP
.B *.dat
Conventionally,
.B "Screen Manager"
files have a '.dat' extension although this is not required.
.TP
.B *.txt
Data files - again, this convention is not enforced.
.TP
.B *~
Before files are saved, the old file is moved to *~ as a form of
backup (*.~?? under MS-DOS).
Thus \fIproject.dat\fR would be backed up
to \fIproject.dat~\fR (\fIproject.~da\fR under MS-DOS)
.SH "SEE ALSO"
Postscript version of these man pages which have screenshots -
probably in /usr/share/doc/scrmgr-X.Y.
.LP
.lf 1 ./smclean.lst
.BR scrmgr (1),
.BR sm2awk  (1),
.BR sm2c  (1),
.BR smcalc (1),
.BR smcreate  (1),
.BR smdata (1),
.BR smedit (1),
.BR smfind (1),
.BR smgrep (1),
.BR smproj  (1),
.BR smquick  (1),
.BR smsort (1),
.BR smtree (1),
.BR smupdate  (1),
.BR xctool (1),
.BR smdisp (1),
.BR pcurse (1)
.lf 61 ./smclean.1
.SH AUTHOR
Bob Hepple <bhepple@freeshell.org>
.SH COPYRIGHT
Copyright \(co 1991-2002 Bob Hepple
